@echo off

call  "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

if errorlevel 1 (
   echo Failure Reason Given is %errorlevel%
   exit /b %errorlevel%
)

echo "Delete last build ... "
del /f /s /q bin

if errorlevel 1 (
   echo Failure Reason Given is %errorlevel%
   exit /b %errorlevel%
)

msbuild TestMMKV.sln  -p:Configuration=Debug;Platform=x86 /t:Core:Rebuild
msbuild TestMMKV.sln  -p:Configuration=Release;Platform=x86 /t:Core:Rebuild

msbuild TestMMKV.sln  -p:Configuration=Debug;Platform=x64 /t:Core:Rebuild
msbuild TestMMKV.sln  -p:Configuration=Release;Platform=x64 /t:Core:Rebuild


msbuild TestMMKV.sln  -p:Configuration=Debug-MT;Platform=x86 /t:Core:Rebuild
msbuild TestMMKV.sln  -p:Configuration=Release-MT;Platform=x86 /t:Core:Rebuild

msbuild TestMMKV.sln  -p:Configuration=Debug-MT;Platform=x64 /t:Core:Rebuild
msbuild TestMMKV.sln  -p:Configuration=Release-MT;Platform=x64 /t:Core:Rebuild







